<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../CSS/Style.css" rel="stylesheet" type="text/css" media="all" ice:classes="*" />
<title>Conta</title>
<script language="Javascript">
function valida()
{
	if (document.consulta.txtComanda.value == "")
	{
    window.alert('Digite a comanda');
	return false;
	}
}
</script>
</head>
<body>
<div id="body">
  <div id="topo">Conta</div>
     <Form method="get" action="ConsultaConta.php" onsubmit="return valida();" name="consulta">
     Comanda..: <input type="text" size="15" name="txtComanda" id="txtcomanda">
     <!--<input type="image" src="../../imagens/lupa.jpg" width="36" height="31" onClick="ConsultaConta.php"/>-->
     <input type="image" src="../../imagens/lupa.jpg" width="36" height="31" onClick="valida();"/>
     <a href="../../Principal.php"><img src="../../imagens/btvoltar.jpg" width="36" height="31" /></a>
     </Form>
  <div id="botoes"></div>
<div id="voltar"></div></div>
</body>
     <script type="text/javascript">
         document.getElementById('txtcomanda').focus();
     </script>
</html>
